package com.sls.game.service;

import com.sls.core.socket.Head;
import com.sls.game.page.Pagination;
import com.sls.game.pojo.maxshu.MaxshuAccountType;
import com.sls.game.pojo.maxshu.MaxshuAreaServer;
import com.sls.game.pojo.maxshu.MaxshuProduct;
import com.sls.game.pojo.maxshu.MaxshuRechargeType;
import com.sls.game.pojo.maxshu.MaxshuRespInfo;


public interface MaxshuSupService {
	/**
	 * 查询商家信息
	 * 
	 * @param head
	 * @return
	 */
	public MaxshuRespInfo queryMerchantInfo(Head head);

	/**
	 * 保存商品详细信息
	 * 
	 * @param head
	 */
	public void saveAllProductDetailInfo(Head head);

	/**
	 * 保存商品
	 * 
	 * @param body
	 * @param head
	 */
	public void save(String body, Head head);

	/**
	 * 订单查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public MaxshuRespInfo queryOrder(String body, Head head);

	/**
	 * 异步通知，修改订单状态
	 * 
	 * @param body
	 * @param head
	 */
	public void updateOrderStatus(String body, Head head);

	/**
	 * 修改
	 * 
	 * @param body
	 * @param head
	 */
	public void update(String body, Head head);

	/**
	 * 详情查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public MaxshuProduct querySupProductById(String body, Head head);

	/**
	 * 分页查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public Pagination<MaxshuProduct> querySupProPagination(String body,
			Head head);

	public Pagination<MaxshuAccountType> querySupATPagination(String body,
			Head head);

	public Pagination<MaxshuRechargeType> querySupRTPagination(String body,
			Head head);

	public Pagination<MaxshuAreaServer> querySupASPagination(String body,
			Head head);
}
